<template>
	<view class="bg-white" style="height: 100vh;">
		<cu-custom :bgColor="NavBarColor" :isBack="true" backFlag="navigate">
			<block slot="backText">返回</block>
			<block slot="content">视频展示</block>
		</cu-custom>
		<view class="cu-list menu margin-top">
			
					  <view class="page">
					  	<video :src="src" mode="aspectFill" >
					  	</video>
					  </view>
				
		
		</view>
	</view>
</template>

<script>


export default {
	data(){
		return{
			NavBarColor:this.NavBarColor,
			annotation:{
				id:"",
				titile:"",
				startTime:"",
				sender:"",
				msgContent:"",
				recordVideo:"",

			},
			goodNumber:null,
			flg:true,
			src:"",
			photos: [
							{
								id: '1',
								src:
									'http://192.168.1.88:7000/opsli-boot/api/v1/business/file/localimage?id=1'
							},
							{
								id: '2',
								src:
									'http://192.168.1.88:7000/opsli-boot/api/v1/business/file/localimage?id=2'
							}
						]
		}
	},
	onLoad: function (option) {
		this.$http.get("/two/getVideo",{params:{pic:option.item}}).then(res=>{
					this.src =res.data
		})
	   /* const annItem = JSON.parse(decodeURIComponent(option.item));
		this.annotation = annItem 
		this.src=this.annotation.recordVideo
		console.log(this.annotation.recordVideo) */
	},
	created(){
		console.log("created")
		//this.readOk();
	},
	methods:{
	}
}
</script>

<style>
</style>
